package com.chen.framework.model.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: ~龙~
 * @date: 2023/6/13 11:41
 **/
@Data
@TableName("auth_link_user_role")
@ApiModel(value = "UserRole对象", description = "用户与角色的关系")
public class AuthLinkUserRole {

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("角色ID")
    @TableField("role_id")
    private Long roleId;
}
